Pod::Spec.new do |s|
  s.name = "KM3RDParty"
  s.version = "1.0.0"
  s.summary = "A short description of KM3RDParty"
  s.homepage         = 'https://github.com'
  s.license          =  "MIT"
  s.authors = {"ahnudwy"=>"ahnudwy@github.com"}
  s.description = "TODO: Add long description of the pod here."
  s.frameworks = ["UIKit", "SystemConfiguration"]
  s.source = { :path => '.' }

  s.ios.deployment_target    = '10.0'

  s.subspec 'Core' do |ss|
    ss.source_files = 'Core/*.{h,m}'
    ss.dependency 'YYModel'
    # ss.prefix_header_contents = '#import "YYModel.h"'

  end

  s.subspec 'iCarousel' do |ss|
    ss.source_files = 'iCarousel/*.{h,m}'
  end

  s.subspec 'UUMarqueeView' do |ss|
    ss.source_files = 'UUMarqueeView/*.{h,m}'

  end

  s.subspec 'KTable' do |ss|
    ss.source_files = 'KTable/*.{h,m}'
    ss.dependency 'YYCategories'
    ss.dependency 'KM3RDParty/Core'
    ss.prefix_header_contents = '#import "YYCategories.h"','#import "ZHConstHeader.h"'

  end

  s.subspec 'KDriven' do |ss|
    ss.source_files = 'KDriven/*.{h,m}', 'KDriven/**/*.{h,m}', 'KDriven/**/**/*.{h,m}'
    ss.dependency 'Masonry'
    ss.dependency 'KM3RDParty/Core'
    ss.prefix_header_contents = '#import "ZHConstHeader.h"'
  end

  s.subspec 'WMPageController' do |ss|
    ss.source_files = 'WMPageController/*.{h,m}', 'WMPageController/**/*.{h,m}'

  end

  s.subspec 'WMZBanner' do |ss|
    ss.source_files = 'WMZBanner/*.{h,m}'
    ss.dependency 'SDWebImage'
  end

  s.subspec 'DZNEmptyDataSet' do |ss|
    ss.source_files = 'DZNEmptyDataSet/*.{h,m}'

  end

  s.subspec 'TableDyHeight' do |ss|
    ss.source_files = 'TableDyHeight/*.{h,m}', 'TableDyHeight/**/*.{h,m}'
  end

end
